﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.EnterpriseLibrary.Validation.Validators;

namespace Reconciliation.Domain
{
    public class CaseAuditorComment
    {
        public CaseAuditorComment()
        {
            Case = new Case();
            User = new User();
        }        
        public int CaseAuditorCommentID { get; set; }
        [NotNullValidator()]
        public Case Case { get; set; }
        [NotNullValidator()]
        [StringLengthValidator(1, 500)]
        public string Comment { get; set; }
        [NotNullValidator()]
        public User User { get; set; }
        [RelativeDateTimeValidator(1, DateTimeUnit.Second, 1000, DateTimeUnit.Second)]
        public DateTime DateTime { get; set; }
    }
}
